-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ses): auto setting for DMARC #28507
Conversation
The integ test should have passed locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one comment @watany-dev, which should also have its own unit test, and then we are good to go. Thanks!
@@ -419,6 +434,16 @@ export class EmailIdentity extends Resource implements IEmailIdentity { | |||
}); | |||
} | |||
|
|||
if (props.autoDmarc && props.identity.hostedZone) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If props.dmarcReportEmail
is set but props.autoDmarc
is not, then the email will be ignored, which I argue is unexpected. Instead, we should assume that autoDmarc
is true if dmarcReportEmail
is set.
Pull request has been modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @watany-dev but looks like the integ test needs updating?
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This PR has been in the CHANGES REQUESTED state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error. |
Introducing DMARC functionality to Amazon SES Construct to enhance email security by authenticating sender identity. This feature allows users to enable DMARC for their email domains with minimal configuration.
Changes
Added autoDmarc flag in EmailIdentity for automatic DMARC TXT record creation.
Optional dmarcReportEmail for custom DMARC report destination.
Example
Facilitates easy DMARC setup for Amazon SES users, enhancing domain security against email spoofing.
https://support.google.com/a/answer/2466580
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license